home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form Form1 AutoRedraw = -1 'True BackColor = &H00C0C0C0& BorderStyle = 1 'Fixed Single Caption = "Form1" ClientHeight = 4020 ClientLeft = 1095 ClientTop = 1485 ClientWidth = 4950 Height = 4425 Left = 1035 LinkTopic = "Form1" ScaleHeight = 4020 ScaleWidth = 4950 Top = 1140 Width = 5070 Begin Timer Timer1 Interval = 200 Left = 2160 Top = 2880 End Begin PictureBox Picture1 AutoRedraw = -1 'True BackColor = &H00800000& BorderStyle = 0 'None Height = 495 Left = 120 ScaleHeight = 495 ScaleWidth = 1215 TabIndex = 1 Top = 120 Width = 1215 End Begin TextBox Text1 BackColor = &H00C0C0C0& FontBold = -1 'True FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 12 FontStrikethru = 0 'False FontUnderline = 0 'False Height = 495 Left = 480 MultiLine = -1 'True TabIndex = 0 Text = "Text1" Top = 2640 Width = 1215 End Begin Image Image1 Height = 480 Index = 6 Left = 360 Picture = DEMO.FRX:0000 Top = 1440 Width = 480 End Begin Image Image1 Height = 480 Index = 9 Left = 2160 Picture = DEMO.FRX:0302 Top = 1440 Width = 480 End Begin Image Image1 Height = 480 Index = 8 Left = 1560 Picture = DEMO.FRX:0604 Top = 1440 Width = 480 End Begin Image Image1 Height = 480 Index = 7 Left = 960 Picture = DEMO.FRX:0906 Top = 1560 Width = 480 End Begin Image Image1 Height = 480 Index = 10 Left = 3000 Picture = DEMO.FRX:0C08 Top = 1560 Width = 480 End Begin Image Image1 Height = 480 Index = 5 Left = 3720 Picture = DEMO.FRX:0F0A Top = 720 Width = 480 End Begin Image Image1 Height = 480 Index = 4 Left = 3120 Picture = DEMO.FRX:120C Top = 720 Width = 480 End Begin Image Image1 Height = 480 Index = 1 Left = 1080 Picture = DEMO.FRX:150E Top = 720 Width = 480 End Begin Image Image1 Height = 480 Index = 2 Left = 1680 Picture = DEMO.FRX:1810 Top = 600 Width = 480 End Begin Image Image1 Height = 480 Index = 3 Left = 2280 Picture = DEMO.FRX:1B12 Top = 600 Width = 480 End Begin Image Image1 Height = 480 Index = 0 Left = 480 Picture = DEMO.FRX:1E14 Top = 600 Width = 480 End Option Explicit Dim TabFolder As TabFolder3DType Dim SuperText As TextType ' 3D Tab Folder example ' This is what it takes to create the tabs ' after you purchase the 3Control.bas module ' and simply add it to you project by selecting (File Add) ' Contact me to get the code which will make your programs ' look very NICE without lots of $$$ ' Send check or money order for $39.99 plus tax if a FL resident To ' and you will recieive the source code to start using it and learnning it. ' Angel Rapallo ' 300 NW 42 Ave #607 ' Miami Fl 33126 ' Phone 1-305-448-2362 ' EMail - BASICMAN@AOL.COM Sub Form_Load () Width = Screen.Width Height = Screen.Height Top = 0 Left = 0 ' Make some nice looking 3D Text Picture1.Left = 0 Picture1.Top = 0 Picture1.Width = Width Picture1.Height = 1200 SuperText.Caption = "3D Tabs, Texts, ....." SuperText.Left = 1000 SuperText.Top = 100 SuperText.FontSize = 50 SuperText.FontItalic = True SuperText.FontBold = True SuperText.FontName = "times new roman" SuperText.ForeColor = SolidColor(SOLID_YELLOW) SuperText.BackColor = Picture1.BackColor SuperText.XDirection = TEXT_LEFT SuperText.YDirection = TEXT_DOWN BoxPrint3D Picture1, SuperText SuperText.Caption = "See (demo.frm) Code" SuperText.Left = 500 SuperText.Top = 1200 SuperText.ForeColor = SolidColor(SOLID_PURPLE) FormPrint3D Form1, SuperText ' Make the Tabs Easy, Fast and nice ' Just fill up the properties like in ' VB objects ' Register the images in the TabImageBank ' all images for these folder will be in ' TabImageBank(1, ) TabFolder.AbleImages = 1 Set TabImageBank(1, 1) = Image1(0) Set TabImageBank(1, 2) = Image1(1) Set TabImageBank(1, 3) = Image1(2) Set TabImageBank(1, 4) = Image1(3) Set TabImageBank(1, 5) = Image1(4) Set TabImageBank(1, 6) = Image1(5) Set TabImageBank(1, 7) = Image1(6) Set TabImageBank(1, 8) = Image1(7) Set TabImageBank(1, 9) = Image1(8) Set TabImageBank(1, 10) = Image1(9) Set TabImageBank(1, 11) = Image1(10) ' Set the colors TabFolder.ForeColor = 0 TabFolder.BackColor = BackColor ' Set the dimensions TabFolder.Left = 500 TabFolder.Top = 2400 TabFolder.Height = 3000 TabFolder.AutoSize = True TabFolder.Size = 11 ' Set the caption for each tab TabFolder.Tabs(1).Caption = "Canada" TabFolder.Tabs(2).Caption = "France" TabFolder.Tabs(3).Caption = "Germany" TabFolder.Tabs(4).Caption = "Italy" TabFolder.Tabs(5).Caption = "Japan" TabFolder.Tabs(6).Caption = "Sixth" TabFolder.Tabs(7).Caption = "First" TabFolder.Tabs(8).Caption = "Second" TabFolder.Tabs(9).Caption = "Third" TabFolder.Tabs(10).Caption = "Fourth" TabFolder.Tabs(11).Caption = "Fith" TopTabFolder3DSetUp Form1, TabFolder AutoRedraw = True ' Nice Ouline Text SuperText.FontName = "script" SuperText.Left = 500 SuperText.Top = 6300 SuperText.FontSize = 25 SuperText.Caption = "3Control is (c) Angel Rapallo 1994,1995 A.R.R.A Software" SuperText.OutlineColor = SolidColor(SOLID_BLACK) SuperText.State = TEXT_BOLD SuperText.ForeColor = SolidColor(SOLID_WHITE) FormPrintOutLine Form1, SuperText ' 3D Control Text1.Width = 3 * TabFolder.Width / 4 Text1.Height = 3 * (TabFolder.Height - TAB_HEIGHT) / 4 Text1.Top = TabFolder.Top + TAB_HEIGHT + TabFolder.Height / 8 Text1.Left = TabFolder.Left + TAB_WIDTH + TabFolder.Width / 16 Text1.Text = "Make your programs look better using VB Code Not VBX, DLL and spending lots of dollars ( how much would you pay for a VBX to do all this plus more like Right Tabs Emboss Text..? Read the information in Demo.Frm or call 1-305-443-0598 to order" Control3D Text1, INNER, BackColor ' Emboss Text SuperText.FontName = "times new roman" SuperText.FontSize = 30 SuperText.Left = 3000 SuperText.Top = 5300 SuperText.BackColor = BackColor SuperText.ForeColor = BackColor SuperText.Caption = "Emboss Text Too!" FormPrintSculpt Form1, SuperText End Sub Sub Form_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) ' Catch the Tab being hillighted TopTabFolder3DHilight Form1, TabFolder, X, Y End Sub Sub Form_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single) ' Catch the Tab Being selected TopTabFolder3DSelect Form1, TabFolder, X, Y End Sub Sub Image1_MouseMove (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single) ' Catch the tab being hilighted TopTabFolder3DHilight Form1, TabFolder, Image1(Index).Left + X, Image1(Index).Top + Y End Sub Sub Image1_MouseUp (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single) ' Catch the tab being selected TopTabFolder3DSelect Form1, TabFolder, Image1(Index).Left + X, Image1(Index).Top + Y End Sub Sub Timer1_Timer () Static I As Integer Static M As String I = I + 1 If (I > Len(M)) Then I = 0 End If M = "Get it now and make your APP look Better with less $$$.........." Form1.Caption = Left$(M, I) End Sub